clear all
macro drop all
set more off
set type double

** This will be the regression for adjacent border counties 
use full_border_sample.dta

gen inv_hysine = ln(volume + sqrt(volume^2 +1))

reghdfe inv_hysine ban_affected, /// 
absorb(pairtimeocc_fe county_time_fe county_occ_fe occ_time_fe) vce (cluster border state_occ)
outreg2 using table_A4.xls, dec(3) append

reghdfe inv_hysine ban ban_affected, /// 
absorb(pairtimeocc_fe county_occ_fe occ_time_fe) vce (cluster border state_occ)
outreg2 using table_A4.xls, dec(3) append

reghdfe inv_hysine ban ban_affected unemployment_rate, /// 
absorb(pairtimeocc_fe county_occ_fe occ_time_fe) vce (cluster border state_occ)
outreg2 using table_A4.xls, dec(3) append


